package top.huxy.boot.model.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * (User)实体类
 *
 * @author HuXY
 * @since 2021-12-20 09:45:26
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {
    private static final long serialVersionUID = -43275646297565934L;
    /**
     * 用户id
     */
    private String id;
    /**
     * 用户登录名
     */
    private String username;
    /**
     * 用户登录密码(数据库存密文)
     */
    private String password;
    /**
     * 用户昵称
     */
    private String nickName;
    /**
     * 头像地址URL
     */
    private String head;
    /**
     * 性别,男，女，未知
     */
    private String gender;

    private Long createTime;

    private Date insertTime;

    private Date updateTime;

}

